package com.captjack.rest.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.io.Serializable;
import java.util.Date;


/**
 * The persistent class for the sys_operation_log database table.
 * 
 */
@Entity
@Table(name="sys_operation_log")
public class SysOperationLog implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int id;

	private String classname;

	@Temporal(TemporalType.TIMESTAMP)
	private Date createtime;

	private String logname;

	private String logtype;

	@Lob
	private String message;

	@Lob
	private String method;

	private String succeed;

	private int userid;

	public SysOperationLog() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getClassname() {
		return this.classname;
	}

	public void setClassname(String classname) {
		this.classname = classname;
	}

	public Date getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getLogname() {
		return this.logname;
	}

	public void setLogname(String logname) {
		this.logname = logname;
	}

	public String getLogtype() {
		return this.logtype;
	}

	public void setLogtype(String logtype) {
		this.logtype = logtype;
	}

	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getMethod() {
		return this.method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getSucceed() {
		return this.succeed;
	}

	public void setSucceed(String succeed) {
		this.succeed = succeed;
	}

	public int getUserid() {
		return this.userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

}